package com.dcbeida.activity.zyff;


import com.dcbeida.base.BasePresenter;
import com.dcbeida.base.BaseView;
import com.dcbeida.bean.CpreSendDrug;
import com.dcbeida.bean.DrugCode2Info;
import com.dcbeida.bean.DrugCodeInfo;
import com.dcbeida.bean.DrugInfo;
import com.dcbeida.bean.Patient;
import com.dcbeida.bean.SourceBean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by hp on 2016/5/12.
 */
public interface AlreadyDrugGiveContract {

    interface View extends BaseView<Present> {
        void showTip(String msg);

        void showError(String message);


        void showData(DrugCodeInfo info);

        void showListDrug(List<CpreSendDrug> list);

        void showAddDrug(DrugCode2Info info);

        void showSuccess();

        void getPatientInfo(Patient patient);

        void addPatient();
    }

    interface Present extends BasePresenter {

        void queryCodeToDrugWithInfo(String drugcode);//新增入库药品监管码

        void querydruginfo(String drugcode);


        void calcpresenddruglist(DrugCodeInfo drugCodeInfo, String codes);

        int getHospitalid();

        void setHospitalid(int hospitalid);

        void addbuydrugpresent(DrugCodeInfo drugCodeInfo, String codes,String originaldrugcodes);

        void getPatientInfo(int type, String keyword);//获取患者信息

    }
}
